package com.irdstudio.efp.esb.api.bean.contractdownload;

import com.alibaba.fastjson.annotation.JSONField;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 需求编号：【2019D0519】
 * 问题编号：【】
 * @author xiaojunhui
 * @version 0.1
 * @date 2019/5/23
 */
public class ReqContractDownloadBean {
    /**
     * 申请流水号
     */
    @NotBlank(message = "申请流水号不能为空")
    @JSONField(name = "AppFlowNo")
    @Length(max = 32)
    private String applySeq;
    /**
     * 合同类型
     */
    @NotBlank(message = "合同类型不能为空")
    @JSONField(name = "ContrTp")
    @Length(max = 10)
    private String contType;
    /**
     * 产品id
     */
    @NotBlank(message = "产品id不能为空")
    @JSONField(name = "PrdctID")
    @Length(max = 8)
    private String prdId;

    public String getApplySeq() {
        return applySeq;
    }

    public void setApplySeq(String applySeq) {
        this.applySeq = applySeq;
    }

    public String getContType() {
        return contType;
    }

    public void setContType(String contType) {
        this.contType = contType;
    }

    public String getPrdId() {
        return prdId;
    }

    public void setPrdId(String prdId) {
        this.prdId = prdId;
    }
}
